arm: Use HTPIDR to point to per-CPU state
authorTim Deegan <tim@xen.org>
Mon, 2 Apr 2012 09:54:05 +0000 (10:54 +0100)
committerTim Deegan <tim@xen.org>
Mon, 2 Apr 2012 09:54:05 +0000 (10:54 +0100)
commit3db570f4f9baddb1666cf530e3307784e823d308
tree8365e0edc5af38b78c84d1f6da59b2864625a67c
parente2af2820a3c0115cff00752cbd13cdb283d21f1e
arm: Use HTPIDR to point to per-CPU state

Rather than having the per-VCPU stack contain a pointer to the
per-PCPU state, use the CPU's hypervisor thread ID register for that.

Signed-off-by: Tim Deegan <tim@xen.org>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
[ s/cpuid/id in set_processor_id -- ijc ]
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/setup.c
xen/arch/arm/smpboot.c
xen/include/asm-arm/cpregs.h
xen/include/asm-arm/current.h
xen/include/asm-arm/percpu.h